package com.qfedu.pojo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

@Data
@ApiModel(value = "商品请求对象")
public class GoodsInfoReq {
    @ApiModelProperty(value = "主键如果是新增则不用填写")
    private Integer goodsId;
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称",dataType = "string" )
    private String goodsname;
    /**
     * 商品描述
     */
    @ApiModelProperty(value = "商品描述",dataType = "string" )
    private String goodsDescribe;
    /**
     * 商品规格
     */
    @ApiModelProperty(value = "商品规格",dataType = "string" )
    private String goodsSpecs;
    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格",dataType = "double" )
    private Double goodsPrice;
    /**
     * 二级分类id
     */
    @ApiModelProperty(value = "二级分类id",dataType = "int" )
    private Integer secondTypeId;
    /**
     * 商品图片1
     */
    @ApiModelProperty(value = "商品图片1",dataType = "string" )
    private String goodsUrl1;
    /**
     * 商品图片2
     */
    @ApiModelProperty(value = "商品图片2",dataType = "string" )
    private String goodsUrl2;
    /**
     * 商品图片3
     */
    @ApiModelProperty(value = "商品图片3",dataType = "string" )
    private String goodsUrl3;
    /**
     * 上架时间
     */
    @ApiModelProperty(value = "上架时间",dataType = "string" )
    private String proDate;
    /**
     * 产地
     */
    @ApiModelProperty(value = "产地",dataType = "string" )
    private String goodsPlace;
    /**
     * 上架状态
     */
    @ApiModelProperty(value = "上架状态",dataType = "string" )
    private String state;
    /**
     * 商品评价
     */
    @ApiModelProperty(value = "商品评价",dataType = "string" )
    private String goodsEvaluate;

}


